<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="../../lib/html5shiv.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../lib/respond.min.js?rev=@@hash"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="../../lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../../static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="../../static/h-ui.admin/css/style.css" />
    <link rel="stylesheet" type="text/css" href="../../ht-css/Project.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="../../lib/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../ht-css/style-q.css" />
    <link rel="stylesheet" type="text/css" href="../../ht-css/custom.css" />

    <title>发券查询</title>
</head>
<body data-id="20">

<nav class="breadcrumb">电子券管理 <span class="c-gray en">&gt;</span>发券查询<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<section class="page-container">
    <form class="ml-20 mr-20" id="form-member-add"  method="post">
            <div class="bg-1 bk-gray mb-20">
                <div class="row cl pd-10">
                    <div class="col-md-3 ml-50">
                        <label class="form-label f-l">发券编号：</label>
                        <div  class="formControls "><input type="text" class="input-text radius " style="width:60%" name=""
                                                           placeholder="按优惠券编码查询" id="sendCouponCode"></div>
                    </div>
                    <div class="col-md-3">
                        <label class="form-label f-l">名称：</label>
                        <div  class="formControls"><input type="text" class="input-text radius" name=""
                                                          style="width:60%"
                                                          placeholder="输入名称关键字" id="sendCouponName" maxlength="20"></div>
                    </div>
                    <div class="col-md-3">
                        <label class="form-label f-l">状态：</label>
                        <select id="auditStatus" class=" input-text radius" style="width: 60%">
                            <option value="">全部</option>
                            <option value="60">未生效</option>
                            <option value="20">已生效</option>
                            <option value="40">已失效</option>
                            <option value="70">强制失效</option>
                            <option value="10">待审核</option>
                            <option value="30">审核不通过</option>
                        </select>
                    </div>
                </div>
                <div class="row cl pd-10">
                    <div class="col-md-3 ml-50">
                        <label class="form-label f-l ">审核人：</label>
                        <div  class="formControls "><input type="text" id="auditPerson" class="input-text radius " name="" placeholder="输入审核人名称" maxlength="20" style="width:60%">
                            <div class="pos-a sel_mh hide auditlist" style="width:80%">
                                <ul id="auditList">
                                </ul>
                            </div>
                        </div>
                      
                    </div>
                    <div class="col-md-3">
                        <label class="form-label f-l">发券部门：</label>
                        <div  class="formControls "><input type="text" id="sendCouponDept" class="input-text radius" name=""  placeholder="输入发券部门" maxlength="15" style="width:60%">
                            <div class="pos-a sel_mh hide deptlist" style="width:80%">
                                <ul id="deptList">
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-3">
                        <label class="form-label f-l">发券人：</label>
                        <div  class="formControls "><input type="text" id="sendCouponUser" class="input-text radius " name=""  placeholder="输入发券人" maxlength="20" style="width:60%">
                            <div class="pos-a sel_mh hide userlist" style="width:80%">
                                <ul id="userList">
                                </ul>
                            </div>
                        </div>
                    </div>

                </div>
                <div class="row cl pd-10">
                    <div class=" ml-50 mr-20" style="display: inline-block;width:80%">
                        <label class="form-label f-l ml-10">发券原因：</label>
                        <select class="select f-l input-text radius" size="1" name="sendReasonDutyDept"
                                id="sendReasonDutyDept"
                                onchange="sendDeptChange(value)" style="width:13%">
                            <option value="" selected>选择责任部门</option>
                            <option value="1">商品问题</option>
                            <option value="2">仓储/物流问题</option>
                            <option value="3">财务问题</option>
                            <option value="4">网站运营问题</option>
                            <option value="5">服务体验问题</option>
                            <option value="6">运费问题</option>
                            <option value="7">技术问题</option>
                        </select>
                        <select class="select f-l ml-30  input-text radius" size="1" name="sendCouponReason" id="sendCouponReason"
                                style="width:13%">
                            <option value="" selected>选择具体原因</option><option class="options hide"  value="11">质量问题</option><option class="options hide" value="12">无货问题</option><option class="options hide" value="21">配送延迟</option><option class="options hide" value="22">状态维护错误</option><option class="options hide" value="23">私自拒收</option><option class="options hide" value="24">包装/商品破损</option><option class="options hide" value="25">违规收费</option><option class="options hide" value="26">服务态度差</option><option class="options hide" value="27">错漏发</option><option class="options hide" value="31">退款时效慢</option><option class="options hide" value="32">开票信息有误</option><option class="options hide" value="33">退款金额有误</option><option class="options hide" value="34">开具发票时间有误</option><option class="options hide" value="41">商品参数错误</option> <option class="options hide" value="42">价格错误</option> <option class="options hide" value="43">活动与实际不符</option> <option class="options hide" value="44">活动优惠券补发</option> <option class="options hide" value="45">活动优惠券发放</option><option class="options hide" value="51">特殊售后问题</option> <option class="options hide" value="52">提升客户体验</option> <option class="options hide" value="53">承诺错误</option> <option class="options hide" value="54">售后时间长</option><option class="options hide" value="61">售后运费补偿</option> <option class="options hide" value="62">错发运费补偿</option><option class="options hide" value="71">订单未流转</option> <option class="options hide" value="72">活动未绑定优惠品、赠品</option> <option class="options hide" value="73">系统自动取消</option> <option class="options hide" value="74">页面缓存问题</option>
                        </select>
                        <label class="form-label f-l ml-20">发券方式：</label>
                        <select id="sendCouponType" class="select f-l  input-text radius" style="width: 13%" size="1">
                            <option value="">选择发券方式</option>
                            <option value="1">手动发券</option>
                            <option value="2">自动发券</option>
                            <option value="3">客户领取</option>
                            <option value="4">抽奖发送</option>
                            <!--<option>强制失效</option>-->
                        </select>
                        <div class=" ml-50 mr-20">
                            <label class="form-label f-l ml-30">客户类型：</label>
                            <select id="sendCustType" style="width:13%" class="select f-l input-text radius" size="1" >
                                <option value="">选择客户类型</option>
                                <option value="11">签约客户(非分销)</option>
                                <option value="12">签约客户(分销)</option>
                                <option value="20">普通客户</option>
                                <option value="30">认证客户</option>
                            </select>
                        </div>
                    </div>

                </div>
                <div class="ml-50 row cl pd-10">


                       <label class=" form-label f-l">创建日期：</label>
                       <!--<input type="text" onfocus="WdatePicker({ maxDate:'#F{$dp.$D(\'createEndTimeValue\')||\'%y-%M-%d\'}' })" id="createStartTimeValue" class="input-text Wdate radius f-l" style="width:120px;" placeholder="请选择时间">-->
                    <input type="text" onfocus="WdatePicker({ maxDate:'#F{$dp.$D(\'createEndTimeValue\')||\'%y-%M-%d\'}',startDate:'%y-%M-01 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss'})" id="createStartTimeValue" class="input-text Wdate radius f-l" style="width:120px;" placeholder="请选择时间">

                    <label class="form-label f-l ml-10 mr-10">~</label>
                       <input type="text" onfocus="WdatePicker({ minDate:'#F{$dp.$D(\'createStartTimeValue\')}',dateFmt:'yyyy-MM-dd HH:mm:ss'})" id="createEndTimeValue" class="input-text Wdate radius f-l" style="width:120px;" placeholder="请选择时间">
                         <label class="form-label f-l ml-20">生效日期：</label>
                         <!--<input type="text" onfocus="WdatePicker({ maxDate:'#F{$dp.$D(\'logmax\')||\'%y-%M-%d\'}' })" id="logmin" class="input-text Wdate radius f-l" style="width:120px;" placeholder="请选择时间">-->
                    <input type="text" onfocus="WdatePicker({maxDate:'#F{$dp.$D(\'logmax\')}',startDate:'%y-%M-01 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})" id="logmin" name="logmin" class="input-text Wdate radius f-l" style="width:180px;" placeholder="请选择时间" autocomplete="off">

                    <label class="form-label f-l ml-10 mr-10">~</label>
                         <input type="text" onfocus="WdatePicker({ minDate:'#F{$dp.$D(\'logmin\')}',dateFmt:'yyyy-MM-dd HH:mm:ss'})" id="logmax" class="input-text Wdate radius f-l" style="width:120px;" placeholder="请选择时间" autocomplete="off">
                  
                </div>
                <div class="text-c pb-20 pt-10">
                    <input  id="search"  type="button" class="btn btn-secondary radius size-S powerButton 155" onclick="searchList(1)" value="查&nbsp;&nbsp;询">
                    <input name="" type="reset" class="btn radius size-S ml-10 powerButton 155" value="重&nbsp;&nbsp;置">
                </div>
                <div class="form-content">
                    <table class="table table-border table-bg table-hover table-sort mt-10" id="datatable">
                        <thead>
                        <tr class="text-c">
                            <th>发券编码</th>
                            <th>名称</th>
                            <th>发放客户</th>
                            <th>发券方式</th>
                            <th>生效时间</th>
                            <th>发券部门</th>
                            <th>发券人</th>
                            <th style="width: 70px">发券原因</th>
                            <!-- <th>类型</th>-->
                            <th>状态</th>
                            <th>创建日期</th>
                            <th>审核人</th>
                            <th>审核日期</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody class="shun">
                        </tbody>
                    </table>
                    <div class="dataTables_wrapper goods_fanye clearfix mt-5">
                        <div class="f-r pageturning M-box3"></div>
                    </div>
                </div>
            </div>
    </form>

</section>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/layer/2.4/layer.js?rev=@@hash"></script>
<script type="text/javascript" src="../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script> <!--/_footer 作为公共模版分离出去-->
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
<!--表单验证-->
<script type="text/javascript" src="../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
<script src="../../ht-js/public.js?rev=@@hash"></script>
<!--验证token-->
<script src="../../ht-js/verifyToken.js?rev=@@hash"></script>
<script src="../../ht-js/Project.js?rev=@@hash"></script>
<script src="../../ht-js/coupon/coupon-coupon-query.js?rev=@@hash"></script>
<!--引入分页-->
<link rel="stylesheet" href="../../lib/pagination/pagination.css">
<script src="../../lib/pagination/jquery.pagination.js?rev=@@hash"></script>
<!--权限控制-->
<script type="text/javascript" src="../../ht-js/power.js?rev=@@hash"></script>
<script>
    $('#reset').click(function(){
        $('input').val('');
        $('select').val('');
    })
</script>
</body>
</html>